package com.pubpage.sys_upload_file;
import com.pub.database.*;
import java.util.*;


public class View {
    public View() {
        setMultiLang();
    }


    private String gstrDB_Alias;
    public String getDB_Alias() {
        return this.gstrDB_Alias;
    }

    public void setDB_Alias(String pstrParameter) {
        if (pstrParameter != null && pstrParameter.equals("null")) {
            pstrParameter = null;
        }
        this.gstrDB_Alias = pstrParameter;
    }

    private boolean gblnDBDebug;
    public boolean getDBDebug() {
        return this.gblnDBDebug;
    }

    public void setDBDebug(boolean pstrParameter) {
        this.gblnDBDebug = pstrParameter;
    }

    private String gstrSourceCharset;
    public String getSourceCharset() {
        return this.gstrSourceCharset;
    }

    public void setSourceCharset(String pstrParameter) {
        if (pstrParameter != null && pstrParameter.equals("null")) {
            pstrParameter = null;
        }
        this.gstrSourceCharset = pstrParameter;
    }

    private String gstrTargetCharset;
    public String getTargetCharset() {
        return this.gstrTargetCharset;
    }

    public void setTargetCharset(String pstrParameter) {
        if (pstrParameter != null && pstrParameter.equals("null")) {
            pstrParameter = null;
        }
        this.gstrTargetCharset = pstrParameter;
    }

    private String gstrOnloadScript;
    public String getOnloadScript() {
        return this.gstrOnloadScript;
    }

    public void setOnloadScript(String pstrParameter) {
        if (pstrParameter != null && pstrParameter.equals("null")) {
            pstrParameter = null;
        }
        this.gstrOnloadScript = pstrParameter;
    }
    private String gstrOnExitScript;
    public String getOnExitScript() {
        return this.gstrOnExitScript;
    }

    public void setOnExitScript(String pstrParameter) {
        if (pstrParameter != null && pstrParameter.equals("null")) {
            pstrParameter = null;
        }
        this.gstrOnExitScript = pstrParameter;
    }
    private String gstrPrgTitle;
    public String getPrgTitle() {
        return this.gstrPrgTitle;
    }

    public void setPrgTitle(String pstrParameter) {
        if (pstrParameter != null && pstrParameter.equals("null")) {
            pstrParameter = null;
        }
        this.gstrPrgTitle = pstrParameter;
    }

    private String gstrflow_num;
    public String getflow_num() {
        return this.gstrflow_num;
    }

    public void setflow_num(String pstrParameter) {
        if (pstrParameter != null && pstrParameter.equals("null")) {
            pstrParameter = null;
        }
        this.gstrflow_num = pstrParameter;
    }

    private String gstrflow_code;
    public String getflow_code(){
      return this.gstrflow_code;
    }

    public void setflow_code(String pstrParameter){
      if(pstrParameter!=null && pstrParameter.equals("null")){
        pstrParameter=null;
      }
      this.gstrflow_code=pstrParameter;
}

  private String gstrfile_knd;
  public String getfile_knd(){
    return this.gstrfile_knd;
  }

  public void setfile_knd(String pstrParameter){
    if(pstrParameter!=null && pstrParameter.equals("null")){
      pstrParameter=null;
    }
    this.gstrfile_knd=pstrParameter;
}
  private String gstratt_table;
  public String getatt_table() {
      return this.gstratt_table;
  }

  public void setatt_table(String pstrParameter) {
      if (pstrParameter != null && pstrParameter.equals("null")) {
          pstrParameter = null;
      }
      this.gstratt_table = pstrParameter;
  }


  private String gstratt_ifrm_name;
  public String getatt_ifrm_name(){
    return this.gstratt_ifrm_name;
  }

  public void setatt_ifrm_name(String pstrParameter){
    if(pstrParameter!=null && pstrParameter.equals("null")){
      pstrParameter=null;
    }
    this.gstratt_ifrm_name=pstrParameter;
  }

  private String gstrfile_storage;
  public String getfile_storage(){
    return this.gstrfile_storage;
  }

  public void setfile_storage(String pstrParameter){
    if(pstrParameter!=null && pstrParameter.equals("null")){
      pstrParameter=null;
    }
    this.gstrfile_storage=pstrParameter;
  }

  private String gstrfile_path;
  public String getfile_path(){
    return this.gstrfile_path;
  }

  public void setfile_path(String pstrParameter){
    if(pstrParameter!=null && pstrParameter.equals("null")){
      pstrParameter=null;
    }
    this.gstrfile_path=pstrParameter;
  }
  private String gstrfile_desc;
  public String getfile_desc(){
    return this.gstrfile_desc;
  }

  public void setfile_desc(String pstrParameter){
    if(pstrParameter!=null && pstrParameter.equals("null")){
      pstrParameter=null;
    }
    this.gstrfile_desc=pstrParameter;
  }
  private String gstrknd;
  public String getknd(){
    return this.gstrknd;
  }

  public void setknd(String pstrParameter){
    if(pstrParameter!=null && pstrParameter.equals("null")){
      pstrParameter=null;
    }
    this.gstrknd=pstrParameter;
  }
  private String gstrknd_desc;
  public String getknd_desc(){
    return this.gstrknd_desc;
  }
  public void setknd_desc(String pstrParameter){
    if(pstrParameter!=null && pstrParameter.equals("null")){
      pstrParameter=null;
    }
    this.gstrknd_desc=pstrParameter;
  }
  private String gstrdata_no;
  public String getdata_no(){
    return this.gstrdata_no;
  }

  public void setdata_no(String pstrParameter){
    if(pstrParameter!=null && pstrParameter.equals("null")){
      pstrParameter=null;
    }
    this.gstrdata_no=pstrParameter;
  }
  private String gstrdata_status;
  public String getdata_status(){
    return this.gstrdata_status;
  }

  public void setdata_status(String pstrParameter){
    if(pstrParameter!=null && pstrParameter.equals("null")){
      pstrParameter=null;
    }
    this.gstrdata_status=pstrParameter;
  }
  private String gstrdata_link_no;
  public String getdata_link_no(){
    return this.gstrdata_link_no;
  }

  public void setdata_link_no(String pstrParameter){
    if(pstrParameter!=null && pstrParameter.equals("null")){
      pstrParameter=null;
    }
    this.gstrdata_link_no=pstrParameter;
  }
  private String[] gstrfile_id=null;
 public String[] getfile_id(){
   return this.gstrfile_id;
 }
 public void setfile_id(String[] pstrParameter){
   this.gstrfile_id=pstrParameter;
 }

 private String gstrloginUser;
 public String getloginUser() {
     return this.gstrloginUser;
 }

 public void setloginUser(String pstrParameter) {
     if (pstrParameter != null && pstrParameter.equals("null")) {
         pstrParameter = null;
     }
     this.gstrloginUser = pstrParameter;
 }


  private String gstrprgAction;
     public String getprgAction(){
        return this.gstrprgAction;
     }
     public void setprgAction(String pstrParameter){
     if(pstrParameter!=null && pstrParameter.equals("null")){pstrParameter=null;}
        this.gstrprgAction=pstrParameter;
     }
     private String gstrPrgStatus;
     public String getPrgStatus(){
        return this.gstrPrgStatus;
    }
  private String Frm1NameTitle=null;
  private String BtnUploadTitle=null;
  private String BtnDelTitle=null;
  private String BtnResetTitle=null;
  private String BtnExitTitle=null;
  private String DataViewHtml=null;
  private DataView dataView=null;
  private DataViewForm dataViewForm=null;
  private String delSn=null;
  private String file_kndTitle=null;
  private String file_nameTitle=null;
  private String file_descTitle=null;
  private String file_sizeTitle=null;
  private long file_size=0;
  private long max_size=0;
  private String upload_dateTitle=null;
  private String upload_empnoTitle=null;
  private String data_statusTitle=null;
  private String data_link_noTitle=null;
  private String data_noTitle=null;
  private String file_kndOptionHTML=null;
  private String file_kndOthersTitle=null;
  private byte[] file_data=null;
  private String file_name=null;
  private String mime_type=null;


private void setMultiLang() {

        ResourceBundle rbdTitleResource = ResourceBundle.getBundle(
                "com\\pubpage\\sys_upload_file\\Multi-lang", Locale.getDefault());
        try {

            setBtnUploadTitle(rbdTitleResource.getString("BtnUploadTitle"));
            setBtnDelTitle(rbdTitleResource.getString("BtnDelTitle"));
            setBtnExitTitle(rbdTitleResource.getString("BtnExitTitle"));
            setBtnResetTitle(rbdTitleResource.getString("BtnResetTitle"));
            setPrgTitle(rbdTitleResource.getString("prgTitle"));
            setFrm1NameTitle(rbdTitleResource.getString("Frm1NameTitle"));
            setFile_kndTitle(rbdTitleResource.getString("file_kndTitle"));
            setFile_nameTitle(rbdTitleResource.getString("file_nameTitle"));
            setFile_sizeTitle(rbdTitleResource.getString("file_sizeTitle"));
            setUpload_dateTitle(rbdTitleResource.getString("upload_dateTitle"));
            setUpload_empnoTitle(rbdTitleResource.getString("upload_empnoTitle"));
            setData_statusTitle(rbdTitleResource.getString("data_statusTitle"));
            setData_link_noTitle(rbdTitleResource.getString("data_link_noTitle"));
            setData_noTitle(rbdTitleResource.getString("data_noTitle"));
            setFile_descTitle(rbdTitleResource.getString("file_descTitle"));
            setFile_kndOthersTitle(rbdTitleResource.getString("file_kndOthersTitle"));

        } catch (Exception e) {
            e.printStackTrace();
        }
    }

    public String getMessage(String pstrKey){
        return ResourceBundle.getBundle("com\\pubpage\\sys_upload_file\\Multi-lang",Locale.getDefault()).getString(pstrKey);
    }

    public void setDataViewForm(DataViewForm dataViewForm) {
        this.dataViewForm = dataViewForm;
    }

    public void setDataView(DataView dataView) {
        this.dataView = dataView;
    }

    public void setdelSn(String delSn) {
        this.delSn = delSn;
    }

    public void setUpload_empnoTitle(String upload_empnoTitle) {
        this.upload_empnoTitle = upload_empnoTitle;
    }

    public void setUpload_dateTitle(String upload_dateTitle) {
        this.upload_dateTitle = upload_dateTitle;
    }

    public void setFile_sizeTitle(String file_sizeTitle) {
        this.file_sizeTitle = file_sizeTitle;
    }

    public void setFile_nameTitle(String file_nameTitle) {
        this.file_nameTitle = file_nameTitle;
    }

    public void setFile_descTitle(String file_descTitle) {
        this.file_descTitle = file_descTitle;
    }

    public void setData_statusTitle(String data_statusTitle) {
        this.data_statusTitle = data_statusTitle;
    }

    public void setData_link_noTitle(String data_link_noTitle) {
        this.data_link_noTitle = data_link_noTitle;
    }

    public void setData_noTitle(String data_noTitle) {
        this.data_noTitle = data_noTitle;
    }

    public void setDelSn(String delSn) {
        this.delSn = delSn;
    }

    public void setFile_kndOptionHTML(String file_kndOptionHTML) {
        this.file_kndOptionHTML = file_kndOptionHTML;
    }

    public void setFile_kndOthersTitle(String file_kndOthersTitle) {
        this.file_kndOthersTitle = file_kndOthersTitle;
    }

    public void setFile_data(byte[] file_data) {
        this.file_data = file_data;
    }

    public void setFile_name(String file_name) {
        this.file_name = file_name;
    }

    public void setMime_type(String mime_type) {
        this.mime_type = mime_type;
    }

    public void setMax_size(long max_size) {
        this.max_size = max_size;
    }

    public void setFile_size(long file_size) {
        this.file_size = file_size;
    }

    public void setFile_kndTitle(String file_kndTitle) {
        this.file_kndTitle = file_kndTitle;
    }

    public void setFrm1NameTitle(String Frm1NameTitle) {
        this.Frm1NameTitle = Frm1NameTitle;
    }

    public void setBtnResetTitle(String BtnResetTitle) {
        this.BtnResetTitle = BtnResetTitle;
    }

    public void setBtnExitTitle(String BtnExitTitle) {
        this.BtnExitTitle = BtnExitTitle;
    }

    public void setBtnUploadTitle(String BtnUploadTitle) {
        this.BtnUploadTitle = BtnUploadTitle;
    }

    public void setBtnDelTitle(String BtnDelTitle) {
        this.BtnDelTitle = BtnDelTitle;
    }

    public void setDataViewHtml(String DataViewHtml) {
        this.DataViewHtml = DataViewHtml;
    }

    public DataViewForm getDataViewForm() {
        return dataViewForm;
    }

    public DataView getDataView() {
        return dataView;
    }

    public String getdelSn() {
        return delSn;
    }

    public String getUpload_empnoTitle() {
        return upload_empnoTitle;
    }

    public String getUpload_dateTitle() {
        return upload_dateTitle;
    }

    public String getFile_sizeTitle() {
        return file_sizeTitle;
    }

    public String getFile_nameTitle() {
        return file_nameTitle;
    }

    public String getFile_kndTitle() {
        return file_kndTitle;
    }

    public String getFile_descTitle() {
        return file_descTitle;
    }

    public String getData_statusTitle() {
        return data_statusTitle;
    }

    public String getData_link_noTitle() {
        return data_link_noTitle;
    }

    public String getData_noTitle() {
        return data_noTitle;
    }

    public String getDelSn() {
        return delSn;
    }

    public String getFile_kndOptionHTML() {
        return file_kndOptionHTML;
    }

    public String getFile_kndOthersTitle() {
        return file_kndOthersTitle;
    }

    public byte[] getFile_data() {
        return file_data;
    }

    public String getFile_name() {
        return file_name;
    }

    public String getMime_type() {
        return mime_type;
    }

    public long getMax_size() {
        return max_size;
    }

    public long getFile_size() {
        return file_size;
    }

    public String getFrm1NameTitle() {
        return Frm1NameTitle;
    }

    public String getBtnResetTitle() {
        return BtnResetTitle;
    }

    public String getBtnExitTitle() {
        return BtnExitTitle;
    }

    public String getBtnUploadTitle() {
        return BtnUploadTitle;
    }

    public String getBtnDelTitle() {
        return BtnDelTitle;
    }

    public String getDataViewHtml() {
        return DataViewHtml;
    }
}
